import { BaseManager } from './../libs/rxjs/cc3/BaseManager';
import { _decorator } from 'cc';
import { GameKey } from './SubgameConfig';
import { Observable } from '../libs/rxjs/internal/Observable';
import { EMPTY } from '../libs/rxjs/internal/observable/empty';
const { ccclass, property } = _decorator;

@ccclass('SubgameManager')
export class SubgameManager extends BaseManager {

    onEnterGame(subgameKey: GameKey): Observable<any> {
        this.log('onEnterGame', subgameKey);
        return EMPTY;
    }

    onLeaveGame(): Observable<any> {
        this.log('onLeaveGame');
        return EMPTY;
    }

}